﻿using System;
using System.Collections.Generic;
using System.Common;
using System.Linq;
using System.Text;
using System.ComponentModel;
using Infinity.Common;

namespace System.UI.ControlLibrary.Workspace
{
	public class DependencyVariable : NotifyPropertyChanged, IDependencyVariable
	{
		public DependencyVariable(object value)
		{
			Value = value;
		}

		private object _Value;

		public object Value
		{
			get
			{
				return _Value;
			}
			set
			{
				OnPropertyChanged("Value");
				_Value = value;
			}
		}
	}
}
